package cn.ibdsr.human.db.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 企业基本信息表
 * </p>
 *
 * @author cdl
 * @since 2021-08-04
 */
public class Company extends Model<Company> {

    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 企业编号
     */
    private String code;

    /**
     * 企业名称
     */
    private String name;

    /**
     * 信用代码
     */
    private String creditCode;

    /**
     * 企业性质ID
     */
    private Integer proper;

    /**
     * 企业规模
     */
    private String peopleCnt;

    /**
     * 营业执照图片
     */
    private String licenseImage;

    /**
     * 所在省ID
     */
    private String provinceId;

    /**
     * 所在省名称
     */
    private String province;

    /**
     * 所在市ID
     */
    private String cityId;

    /**
     * 所在市名称
     */
    private String city;

    /**
     * 所在区县ID
     */
    private String districtId;

    /**
     * 所在区县名称
     */
    private String district;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 企业法人
     */
    private String legalPerson;

    /**
     * 法人身份证
     */
    private String legalIdCardNo;

    /**
     * 企业介绍
     */
    private String intro;

    /**
     * 联系人
     */
    private String contactName;

    /**
     * 联系人手机号
     */
    private String contactPhone;

    /**
     * 联系人职务
     */
    private String contactJob;

    /**
     * 岗位数量
     */
    private Integer jobCnt;

    /**
     * 状态（0-未认证；1-待认证；2-认证成功；3-认证失败； ）
     */
    private Integer status;

    /**
     * 审核人ID
     */
    private Long reviewUserId;

    /**
     * 审核备注
     */
    private String reviewRemark;

    /**
     * 审核时间
     */
    private LocalDateTime reviewTime;

    /**
     * 创建者ID
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改者ID
     */
    private Long updateUser;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否删除（0-否；1-是；）
     */
    private Boolean isDeleted;

    /**
     * 企业外部显示名称
     */
    private String outerName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public Integer getProper() {
        return proper;
    }

    public void setProper(Integer proper) {
        this.proper = proper;
    }

    public String getPeopleCnt() {
        return peopleCnt;
    }

    public void setPeopleCnt(String peopleCnt) {
        this.peopleCnt = peopleCnt;
    }

    public String getLicenseImage() {
        return licenseImage;
    }

    public void setLicenseImage(String licenseImage) {
        this.licenseImage = licenseImage;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrictId() {
        return districtId;
    }

    public void setDistrictId(String districtId) {
        this.districtId = districtId;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getLegalIdCardNo() {
        return legalIdCardNo;
    }

    public void setLegalIdCardNo(String legalIdCardNo) {
        this.legalIdCardNo = legalIdCardNo;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactJob() {
        return contactJob;
    }

    public void setContactJob(String contactJob) {
        this.contactJob = contactJob;
    }

    public Integer getJobCnt() {
        return jobCnt;
    }

    public void setJobCnt(Integer jobCnt) {
        this.jobCnt = jobCnt;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getReviewUserId() {
        return reviewUserId;
    }

    public void setReviewUserId(Long reviewUserId) {
        this.reviewUserId = reviewUserId;
    }

    public String getReviewRemark() {
        return reviewRemark;
    }

    public void setReviewRemark(String reviewRemark) {
        this.reviewRemark = reviewRemark;
    }

    public LocalDateTime getReviewTime() {
        return reviewTime;
    }

    public void setReviewTime(LocalDateTime reviewTime) {
        this.reviewTime = reviewTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDeleted() {
        return isDeleted;
    }

    public void setDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getOuterName() {
        return outerName;
    }

    public void setOuterName(String outerName) {
        this.outerName = outerName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Company{" +
        "id=" + id +
        ", code=" + code +
        ", name=" + name +
        ", creditCode=" + creditCode +
        ", proper=" + proper +
        ", peopleCnt=" + peopleCnt +
        ", licenseImage=" + licenseImage +
        ", provinceId=" + provinceId +
        ", province=" + province +
        ", cityId=" + cityId +
        ", city=" + city +
        ", districtId=" + districtId +
        ", district=" + district +
        ", address=" + address +
        ", legalPerson=" + legalPerson +
        ", legalIdCardNo=" + legalIdCardNo +
        ", intro=" + intro +
        ", contactName=" + contactName +
        ", contactPhone=" + contactPhone +
        ", contactJob=" + contactJob +
        ", jobCnt=" + jobCnt +
        ", status=" + status +
        ", reviewUserId=" + reviewUserId +
        ", reviewRemark=" + reviewRemark +
        ", reviewTime=" + reviewTime +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        ", isDeleted=" + isDeleted +
        ", outerName=" + outerName +
        "}";
    }
}
